package cn.buk.tms.eotms.dao;

import cn.buk.tms.eotms.entity.VasOrder;
import cn.buk.tms.eotms.sc.SearchFlightOrderCriteria;

import java.util.List;

public interface VasOrderDao {

  List<VasOrder> searchVasOrders(int ownerId, int customerId, SearchFlightOrderCriteria sc, final boolean isInsurance);

  List<VasOrder> searchByFlightOrderId(int ownerId, int flightOrderId);

  VasOrder getOrderById(int id);

  int createVasOrder(VasOrder info);

  int updateVasOrderPaid(int userId, int orderId);
}
